package com.example.yiwei.crm.view.frament.menuFragment;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.example.yiwei.crm.view.Class.gridViewClass.MyGridAdapter;
import com.example.yiwei.crm.view.Class.gridViewClass.MyGridView;
import com.example.yiwei.crm.R;


/**
 * Created by DHN on 2016/12/2.
 */
//办公界面
public class office_fragment extends Fragment {
    @Nullable
    private MyGridView gridview;
    public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
        View rootview=inflater.inflate(R.layout.frament_fourth,container,false);
        gridview=(MyGridView)rootview.findViewById(R.id.gridview);
        gridview.setAdapter(new MyGridAdapter(getActivity()));
        return rootview;
    }
}
